package u8.calculadora;

public class Calculadora {

	public int suma(int x, int y){
		return x+y;
	}
	
	public int resta(int x, int y){
		return x-y;
	}
	
	public int multiplicacion(int x, int y){
		return x*y;
	}
	
	public int division(int x, int y){
		return x/y;
	}

	public void bomba(int n) throws DavidException{
		if (n==10){
			throw new DavidException();
		}
	}
}
